package com.group.pojo;

/**
 * 公共服务pojo
 * @author caoyanan
 * @time 2017年10月11日下午9:20:29
 */
public class Common {

	//查询某种表某天的最大值(插入数据获取id时候使用)
	private String tbName;
	private String date;
	
	//通过id(主键)得到名字
	private String id; //主键id
	private String columnName; //要查询的字段名字
	
	public Common() {
		super();
	}

	public Common(String tbName, String date) {
		super();
		this.tbName = tbName;
		this.date = date;
	}
	public Common(String id, String columnName, String tbName) {
		super();
		this.id = id;
		this.columnName = columnName;
		this.tbName = tbName;
	}
	
	public String getTbName() {
		return tbName;
	}
	public void setTbName(String tbName) {
		this.tbName = tbName;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	@Override
	public String toString() {
		return "Common [tbName=" + tbName + ", date=" + date + ", id=" + id + ", columnName=" + columnName + "]";
	}

	
	
	
}
